package com.rlm.parken.client;

import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.RootPanel;

public class FlowControl {
	
	private static FlowControl instance;
	
	private FlowControl() {}
	
	public static void go( Composite c ){
		
		if (instance == null) instance = new FlowControl();
		
		RootPanel.get("content").clear();
		RootPanel.get("content").add(c);
		
	}

}
